<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入样式 -->
    <!-- import CSS -->
    <link rel="stylesheet" href="element.css">
    <link rel="stylesheet" href="./common.css"> 
    <!-- /* 当屏幕的宽度大于等于400px的时候，应用 mini.css */ -->
    <link rel="stylesheet" type="text/css" href="mini.css" media="screen and (min-width: 400px)">
    <!-- /* 当屏幕的宽度大于600 小于800px时，应用small.css */ -->
    <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 600px) and (max-width: 800px)">
    <!-- /* 当屏幕的宽度大于800 小于1100px时，应用midium.css */ -->
    <link rel="stylesheet" type="text/css" href="small.css" media="screen and (min-width: 800px) and (max-width: 1100px)">

    <style>
        *{margin: 0;padding: 0;}
        .el-image__inner{
            vertical-align:middle
        }
        .el-carousel__item{
            display: flex;justify-content: center;
        } 
        .el-carousel__item>div{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 60%;
        }
        .el-carousel__button{width: 15px;height:15px;border-radius: 15px;}
        .el-carousel__container{height: 620px;}
        .quaContainer{margin: 80px 0px 0px;}
        @media screen and (max-width: 1440px) {
            .el-carousel__container{height: 380px;}
            .quaContainer{margin-top: 40px;}
        }
    </style>
</head>
<body class="mainBg">
    <div id="app" v-cloak>
        <!-- 导航栏 -->
        <my-header :page-id="3">
            <my-drawer></my-drawer>     
        </my-header>
        <el-row :gutter="0" class="quaContainer" style="margin:0;margin-top: 80px;">
            <el-col :span="18" style="float: none;margin: auto;">
                <el-carousel class="el-carousel" :interval="4000" type="card" indicator-position="outside" autoplay-hover-pause arrow="hover" :autoplay="false">
                    <el-carousel-item v-for="item in 3" :key="item">
                        <el-card>
                            <el-image class="block" fit="none" src="./img/card.png"></el-image>
                        </el-card>
                    </el-carousel-item>
                </el-carousel>
            </el-col>
        </el-row>
        <my-footer></my-footer>
        
    </div>
    <script src="./localLang.js"></script>
    <script src="js/vue.js"></script>
    <script src="js/element-ui.js"></script>
    <script src="./drawer.js"></script>
    <script src="./header.js"></script>
    <script src="./footer.js"></script>
    <script>
        new Vue({
            el: '#app',
            data: {
                draggable: true,
                resizable: false,
                index: 0,
                visible:false,
                lang:localStorage.getItem('lang')==='zh-CN'?'zh-CN':'en',
            },
            mounted(){
            },
            methods: {
                parentChangeLang(value){
                    console.log(value)
                    this.lang = value
                }
            }   
        });
      </script>
</body>
</html>